package com.sttk.secreconeclick.bookkeep.bean;

import com.lzb.basic.bean.SelBean;

public class BillTypeBean extends SelBean {

    private Integer icon;
    private Integer selIcon;
    private Integer saveIcon;
    private String name;

    public BillTypeBean(Integer icon, Integer selIcon, Integer saveIcon, String name) {
        this.icon = icon;
        this.selIcon = selIcon;
        this.saveIcon = saveIcon;
        this.name = name;
    }

    public Integer getIcon() {
        return icon;
    }

    public void setIcon(Integer icon) {
        this.icon = icon;
    }

    public Integer getSelIcon() {
        return selIcon;
    }

    public void setSelIcon(Integer selIcon) {
        this.selIcon = selIcon;
    }

    public Integer getSaveIcon() {
        return saveIcon;
    }

    public void setSaveIcon(Integer saveIcon) {
        this.saveIcon = saveIcon;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        BillTypeBean that = (BillTypeBean) o;
        return name != null ? name.equals(that.name) : that.name == null;
    }

    @Override
    public int hashCode() {
        return name != null ? name.hashCode() : 0;
    }
}
